﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Tesorera.Master" AutoEventWireup="true" CodeBehind="ModificarIngresoEgreso.aspx.cs" Inherits="Interfaces.IngresoEgreso.ModificarIngresoEgreso" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">

        .style1
        {
            width: 99%;
        }
        .style8
        {
            width: 100%;
        }
        .style3
        {
            width: 209px;
            height: 25px;
        }
        .style4
        {
            height: 25px;
            text-align: left;
        }
        .style9
        {
            width: 181px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
            </asp:ScriptManagerProxy>
            <br />
            <table class="style8">
                <tr>
                    <td>
                        <asp:Button ID="Button7" runat="server" onclick="Button7_Click" 
                            style="text-align: center" CssClass=JCIstyle Text="Egresos" />
                    </td>
                    <td style="text-align: left">
                        <asp:Button ID="Button8" runat="server" CssClass=JCIstyle onclick="Button8_Click" 
                            Text="Ingresos" />
                    </td>
                </tr>
            </table>
            <br />
            <asp:Panel ID="Panel1" runat="server" GroupingText="Agregar Ingreso" 
                Width="827px">
                <table class="style1">
                    <tr>
                        <td>
                            <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="DataSource" 
                                DataTextField="Nombre" DataValueField="CodigoIE" Height="18px" Width="220px">
                            </asp:DropDownList>
                        </td>
                        <td>
                            <table class="style8">
                                <tr>
                                    <td class="style9">
                                        Cantidad:&nbsp;&nbsp;</td>
                                    <td>
                                        <asp:TextBox ID="TextBox7" runat="server" Height="21px" MaxLength="7" 
                                            Width="121px"></asp:TextBox>
                                        <ajaxToolkit:FilteredTextBoxExtender ID="TextBox7_FilteredTextBoxExtender" 
                                            runat="server" Enabled="True" FilterType="Numbers" TargetControlID="TextBox7">
                                        </ajaxToolkit:FilteredTextBoxExtender>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="style9">
                                        Valor Unitario($us)&nbsp;&nbsp;</td>
                                    <td>
                                        <asp:TextBox ID="TextBox8" runat="server" Height="21px" MaxLength="9" 
                                            Width="121px"></asp:TextBox>
                                        <ajaxToolkit:FilteredTextBoxExtender ID="TextBox8_FilteredTextBoxExtender" 
                                            runat="server" Enabled="True" FilterType="Custom, Numbers" 
                                            TargetControlID="TextBox8" ValidChars=",">
                                        </ajaxToolkit:FilteredTextBoxExtender>
                                    </td>
                                </tr>
                            </table>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
                            <br />
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style3">
                            <asp:TextBox ID="TextBox1" runat="server" Enabled="False"></asp:TextBox>
                            <ajaxToolkit:CalendarExtender ID="TextBox1_CalendarExtender" runat="server" 
                                Enabled="True" Format="yyyy-MM-dd" PopupButtonID="ImageButton1" 
                                TargetControlID="TextBox1">
                            </ajaxToolkit:CalendarExtender>
                            <asp:ImageButton ID="ImageButton1" runat="server" 
                                ImageUrl="~/Images/calendar.jpg" />
                            <br />
                            Horas:&nbsp;&nbsp;&nbsp;
                            <asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True" 
                                onselectedindexchanged="DropDownList2_SelectedIndexChanged">
                                <asp:ListItem>00</asp:ListItem>
                                <asp:ListItem>01</asp:ListItem>
                                <asp:ListItem>02</asp:ListItem>
                                <asp:ListItem>03</asp:ListItem>
                                <asp:ListItem>04</asp:ListItem>
                                <asp:ListItem>05</asp:ListItem>
                                <asp:ListItem>06</asp:ListItem>
                                <asp:ListItem>07</asp:ListItem>
                                <asp:ListItem>08</asp:ListItem>
                                <asp:ListItem>09</asp:ListItem>
                                <asp:ListItem>10</asp:ListItem>
                                <asp:ListItem>11</asp:ListItem>
                                <asp:ListItem>12</asp:ListItem>
                                <asp:ListItem>13</asp:ListItem>
                                <asp:ListItem>14</asp:ListItem>
                                <asp:ListItem>15</asp:ListItem>
                                <asp:ListItem>16</asp:ListItem>
                                <asp:ListItem>17</asp:ListItem>
                                <asp:ListItem>18</asp:ListItem>
                                <asp:ListItem>19</asp:ListItem>
                                <asp:ListItem>20</asp:ListItem>
                                <asp:ListItem>21</asp:ListItem>
                                <asp:ListItem>22</asp:ListItem>
                                <asp:ListItem>23</asp:ListItem>
                            </asp:DropDownList>
                            <br />
                            Minutos:
                            <asp:DropDownList ID="DropDownList3" runat="server" AutoPostBack="True" 
                                onselectedindexchanged="DropDownList3_SelectedIndexChanged">
                                <asp:ListItem>00</asp:ListItem>
                                <asp:ListItem>01</asp:ListItem>
                                <asp:ListItem>02</asp:ListItem>
                                <asp:ListItem>03</asp:ListItem>
                                <asp:ListItem>04</asp:ListItem>
                                <asp:ListItem>05</asp:ListItem>
                                <asp:ListItem>06</asp:ListItem>
                                <asp:ListItem>07</asp:ListItem>
                                <asp:ListItem>08</asp:ListItem>
                                <asp:ListItem>09</asp:ListItem>
                                <asp:ListItem>10</asp:ListItem>
                                <asp:ListItem>11</asp:ListItem>
                                <asp:ListItem>12</asp:ListItem>
                                <asp:ListItem>13</asp:ListItem>
                                <asp:ListItem>14</asp:ListItem>
                                <asp:ListItem>15</asp:ListItem>
                                <asp:ListItem>16</asp:ListItem>
                                <asp:ListItem>17</asp:ListItem>
                                <asp:ListItem>18</asp:ListItem>
                                <asp:ListItem>19</asp:ListItem>
                                <asp:ListItem>20</asp:ListItem>
                                <asp:ListItem>21</asp:ListItem>
                                <asp:ListItem>22</asp:ListItem>
                                <asp:ListItem>23</asp:ListItem>
                                <asp:ListItem>24</asp:ListItem>
                                <asp:ListItem>25</asp:ListItem>
                                <asp:ListItem>26</asp:ListItem>
                                <asp:ListItem Value="27"></asp:ListItem>
                                <asp:ListItem Value="28"></asp:ListItem>
                                <asp:ListItem Value="29"></asp:ListItem>
                                <asp:ListItem Value="30"></asp:ListItem>
                                <asp:ListItem Value="31"></asp:ListItem>
                                <asp:ListItem Value="32"></asp:ListItem>
                                <asp:ListItem Value="33"></asp:ListItem>
                                <asp:ListItem Value="34"></asp:ListItem>
                                <asp:ListItem Value="35"></asp:ListItem>
                                <asp:ListItem Value="36"></asp:ListItem>
                                <asp:ListItem Value="37"></asp:ListItem>
                                <asp:ListItem Value="38"></asp:ListItem>
                                <asp:ListItem Value="39"></asp:ListItem>
                                <asp:ListItem Value="40"></asp:ListItem>
                                <asp:ListItem Value="41"></asp:ListItem>
                                <asp:ListItem Value="42"></asp:ListItem>
                                <asp:ListItem Value="43"></asp:ListItem>
                                <asp:ListItem Value="44"></asp:ListItem>
                                <asp:ListItem Value="45"></asp:ListItem>
                                <asp:ListItem Value="46"></asp:ListItem>
                                <asp:ListItem Value="47"></asp:ListItem>
                                <asp:ListItem Value="48"></asp:ListItem>
                                <asp:ListItem Value="49"></asp:ListItem>
                                <asp:ListItem Value="50"></asp:ListItem>
                                <asp:ListItem Value="51"></asp:ListItem>
                                <asp:ListItem Value="52"></asp:ListItem>
                                <asp:ListItem Value="53"></asp:ListItem>
                                <asp:ListItem Value="54"></asp:ListItem>
                                <asp:ListItem Value="55"></asp:ListItem>
                                <asp:ListItem Value="56"></asp:ListItem>
                                <asp:ListItem Value="57"></asp:ListItem>
                                <asp:ListItem Value="58"></asp:ListItem>
                                <asp:ListItem Value="59"></asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td class="style4">
                            Nombre:
                            <asp:TextBox ID="TextBox9" runat="server" Width="220px" MaxLength="50"></asp:TextBox>
                        </td>
                        <td class="style4">
                            &nbsp;</td>
                        <td class="style4">
                            <asp:Button ID="Button6" runat="server" Height="31px" onclick="Button6_Click" 
                                Text="Agregar" Width="64px" CssClass=JCIstyle />
                        </td>
                    </tr>
                </table>
                <asp:Label ID="Label5" runat="server" ForeColor="Red"></asp:Label>
                <br />
                <asp:Label ID="Label16" runat="server" 
                    style="color: #00CC00; background-color: #FFFFFF" Visible="False">Se registro exitosamente</asp:Label>
            </asp:Panel>
            <asp:DataList ID="DataList1" runat="server" style="text-align: left">
                <HeaderTemplate>
                <tr style="color:#000000">
                 <td style='border:2px solid #123456;' bgcolor="#3a67b1" >
                    <asp:Label ID="Label17" runat="server" style="text-align: left" Text="Nombre"></asp:Label>
                </td>
                 <td style='border:2px solid #123456;' bgcolor="#3a67b1" >
                    <asp:Label ID="Label18" runat="server" style="text-align: left" Text="Asignado"></asp:Label>
                   </td>
                    <td style='border:2px solid #123456;' bgcolor="#3a67b1" >
                    <asp:Label ID="Label19" runat="server" style="text-align: left" Text="Usado"></asp:Label>
                </td>
                </tr>
                </HeaderTemplate>
                <ItemTemplate>
                <tr style="color:#000000">
                <td style='border:2px solid #123456;'>
                    <asp:Label ID="Nombre" runat="server" Text='<%# Eval("Nombre") %>'></asp:Label>
                    </td>
                    <td style='border:2px solid #123456;'>
                    <asp:Label ID="Asignado" runat="server" Text='<%# Eval("Total") %>'></asp:Label>
                    </td>
                    <td style='border:2px solid #123456;'>
                    <asp:Label ID="Usado" runat="server" Text='<%# Eval("Usado") %>'></asp:Label>
                    </td>
                    <td style='border:2px solid #123456;'>
                    <asp:LinkButton ID="Ver" runat="server" CommandName='<%# Eval("Codigo") %>' 
                        onclick="Ver_Click" Text="Ver detalle"></asp:LinkButton>
                </td>
                </tr>
                </ItemTemplate>
            </asp:DataList>
            <br />
        </ContentTemplate>
    </asp:UpdatePanel>
    <br />
    <br />
    <br />
    <br />
    <ajaxToolkit:AccordionPane ID="AccordionPane1" runat="server" HeaderCssClass="">
    </ajaxToolkit:AccordionPane>
</asp:Content>
